When xc_linux_build fails without a meaninful errno, force errno to EINVAL
authorvhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com>
Thu, 16 Feb 2006 16:19:38 +0000 (16:19 +0000)
committervhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com>
Thu, 16 Feb 2006 16:19:38 +0000 (16:19 +0000)
commitcfb205ce1669ae1f67b681beda3a2f9bcaddf1bf
treebc9aecf2e270abf9772345ba00f33721bc9773df
parentdb170676e2b921aa77012d25f0746c564fb2de81
When xc_linux_build fails without a meaninful errno, force errno to EINVAL
avoid message "Error creating domain: (0, 'Error')" in the case
domU version is too old or too new.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
tools/python/xen/lowlevel/xc/xc.c